package com.zxy.ziems.server.alarm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zxy.ziems.server.alarm.pojo.entity.AlarmRuleEntity;
import com.zxy.ziems.server.alarm.pojo.param.AlarmTypePageParam;
import com.zxy.ziems.server.mybatis.core.mapper.BaseMapperX;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Copyright (C),
 * @ClassName: AlarmRuleMapper
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/4/9 15:31
 */
@Mapper
public interface AlarmRuleMapper extends BaseMapperX<AlarmRuleEntity> {

    /**
     * 分页查询
     *
     * @param page
     * @param param
     * @return
     */
    IPage<AlarmRuleEntity> queryPageList(@Param("page") IPage<AlarmRuleEntity> page, @Param("param") AlarmTypePageParam param);

}
